import json

student = [
    {'name': 'jackson', 'age': 18, 'flag': True},
    {'name': 'fastjson', 'age': 10, 'flag': False},
]

json_str = json.dumps(student)
print(type(json_str))
print(json_str)
